package com.data.entity;

import java.io.Serializable;
import java.util.Date;
/**
 * 设备能耗采集数据表
 * @author Administrator
 *
 */
public class DeviceEnergyData implements Serializable{
	private Long id;//主键id
	private String equNo;//设备编号，唯一，与设备表设备编号,生产线编号字段对应
	private Double U_a;//A相电压(电压取值)
	private Double I_a;//A相电流(电流取值)
	private Double P_active;//总有功功率(总功率取值)
	private Double P_engry;//正向吸收有功电能(电度取值)
	private Date collectTime;//数据采集时间
	
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getEquNo() {
		return equNo;
	}
	public void setEquNo(String equNo) {
		this.equNo = equNo;
	}
	public Double getU_a() {
		return U_a;
	}
	public void setU_a(Double u_a) {
		U_a = u_a;
	}
	public Double getI_a() {
		return I_a;
	}
	public void setI_a(Double i_a) {
		I_a = i_a;
	}
	public Double getP_active() {
		return P_active;
	}
	public void setP_active(Double p_active) {
		P_active = p_active;
	}
	public Double getP_engry() {
		return P_engry;
	}
	public void setP_engry(Double p_engry) {
		P_engry = p_engry;
	}
	public Date getCollectTime() {
		return collectTime;
	}
	public void setCollectTime(Date collectTime) {
		this.collectTime = collectTime;
	}
	@Override
	public String toString() {
		return "DeviceEnergyData [id=" + id + ", equNo=" + equNo + ", U_a="
				+ U_a + ", I_a=" + I_a + ", P_active=" + P_active
				+ ", P_engry=" + P_engry + ", collectTime=" + collectTime + "]";
	}

}
